const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  uid: state => state.user.uid,
  avatar: state => state.user.avatar,
  nickname: state => state.user.nickname,
  profile: state => state.user.profile,
  roles: state => state.user.roles,
  permission_routes: state => state.permission.routes,
  dictionaries: state => state.dictionary.dictionaries,
  decryption: state => state.user.decryption,
  version: state => state.dictionary.version
}
export default getters
